# ---- create mmaplib ----
set(MMAPLIB_SRCS
        "mmap.cpp"
        "platform/win/windows_adaptation.cpp"
        "platform/linux/linux_adaptation.cpp"
        "platform/mac/macos_adaptation.cpp")
add_library(mmaplib STATIC ${MMAPLIB_SRCS})
target_include_directories(
        mmaplib PUBLIC
        $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
)
target_compile_features(mmaplib PUBLIC cxx_std_17)